<?php


namespace app\api\validate;


use think\Validate;

class Demand extends Validate
{
    protected $rule = [
        'title'     => 'require',
        'budget'     => 'require|float|gt:0',
        'mobile'     => 'require|number|gt:0|length:11',
        'describe'     => 'require',
        'cover'     => 'require|url',
        'onshelf_status'     => 'require|in:0,1',
    ];
}